<?php if(!defined('PATH_HD'))exit;
$db->exe("DROP TABLE IF EXISTS `hd_source`");
$db->exe("CREATE TABLE `hd_source` (
  `sid` int(11) NOT NULL AUTO_INCREMENT,
  `sname` varchar(45) NOT NULL COMMENT '文章来源名称',
  `url` varchar(50) NOT NULL,
  PRIMARY KEY (`sid`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COMMENT='文章来源表\r\n'");
$db->exe('REPLACE INTO `hd_source`(`sid`,`sname`,`url`)VALUES ("4","百度","www.baidu.com")');
$db->exe('REPLACE INTO `hd_source`(`sid`,`sname`,`url`)VALUES ("6","新浪","www.sina.com")');
$db->exe('REPLACE INTO `hd_source`(`sid`,`sname`,`url`)VALUES ("7","人人网","www.renren.com")');

?>